Turn off form after some number of submissions
If you need a defined number of records in database you can use option "Turn off form after".
You can find this option on Form widget menu in Security tab.
Just enter entries limit and message, which will be shown to your users when form will be closed.